//定义<script>标签脚本加载的地址
const SCRIPT_URL = {
  INDEX: [
    {
      URL: 'https://cdn.bootcdn.net/ajax/libs/axios/1.3.4/axios.min.js',
      isModule: false
    },
    {
      URL: 'http://localhost:8000/js/index.js',
      isModule: true //当加载的脚本文件作为模块被加载时 即写法 type="module"
    }
  ],
  DETAIL: [
    {
      URL: 'https://cdn.bootcdn.net/ajax/libs/axios/1.3.4/axios.min.js',
      isModule: false
    },
    {
      URL: 'http://localhost:8000/js/detail.js',
      isModule: true
    }
  ]
};

//定义<style>标签样式加载的地址
const STYLE_URL = {
  INDEX: ['http://localhost:8000/css/index.css'],
  DETAIL: []
};

module.exports = { SCRIPT_URL, STYLE_URL };
